package cn.juque.datapipeline.service;

import cn.juque.common.base.PageInfo;
import cn.juque.datapipeline.domain.TaskExecuteInfoDO;
import cn.juque.datapipeline.domain.TaskExecuteInfoSearchParamDO;

import java.util.List;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>任务执行信息</li>
 * </ul>
 * {@code @date} 2023-04-03 18:33:19
 **/
public interface ITaskExecuteInfoService {

    /**
     * 查询
     *
     * @param taskExecuteInfo TaskExecuteInfoSearchParamDO
     * @return List<TaskExecuteInfo>
     */
    List<TaskExecuteInfoDO> listExecuteInfoWithoutPage(TaskExecuteInfoSearchParamDO taskExecuteInfo);

    /**
     * 分页查询
     *
     * @param pageInfo        pageInfo
     * @param taskExecuteInfo taskExecuteInfo
     * @return DataGrid<TaskExecuteInfo>
     */
    List<TaskExecuteInfoDO> listExecuteInfoWithPage(PageInfo pageInfo, TaskExecuteInfoSearchParamDO taskExecuteInfo);
}
